
import { SELECT_FILE } from '../actions/resources'


export default function reducer(state: string[] = [], action: { type: string, data?: string[]  }) {
  switch (action.type) {
    case SELECT_FILE:
      return action.data
    default:
      return state;
  }
}

